package com.wkbb.sports.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.github.pagehelper.PageInfo;
import com.wkbb.common.base.BaseMapper;
import com.wkbb.sports.dto.TeachDocumentDto;
import com.wkbb.sports.dto.TeachPlanDetailDto;
import com.wkbb.sports.model.HlifeTeachPlanDetail;

public interface HlifeTeachPlanDetailMapper extends BaseMapper<HlifeTeachPlanDetail> {

	
	
	void  publisTeachPlan(@Param(value = "teachPlanDetailId") Long teachPlanDetailId);

	
	List<TeachPlanDetailDto>  selClassPlanDetail(Map<String,Object> map);
	
	int selMaxCourseSeq(TeachPlanDetailDto teachPlanDetailDto);
	
	
	void addDocument(TeachDocumentDto teachDocumentDto);
	
	void updDocument(TeachDocumentDto teachDocumentDto);

	
	TeachDocumentDto selDocument(@Param(value = "teachingPlanDetailId") Long teachingPlanDetailId);

	int  updatePlanContent(HlifeTeachPlanDetail planDetail);

	int insertDocumentList(List<TeachDocumentDto> list);

    List<TeachDocumentDto> findDocumentList(@Param(value = "documentIds") String documentIds);
    
    List<TeachDocumentDto> getDocumentByMapParams(Map<String, Object> params);

	List<TeachPlanDetailDto> findListByMapParams(Map<String, Object> params);

    int delTeachDocument(Long id);

    int delByPlanId(Long id);
}
